/**
  ******************************************************************************
  * @file    cos_tab_128.h
  * @author  Piak Electronic Design B.V.
  * @brief   This file is part of the Motor Control SDK.
  ******************************************************************************
  * @attention
  *
  * <h2><center>&copy; Copyright (c) 2024 Piak Electronic Design B.V.
  * All rights reserved.</center></h2>
  *
  * This software component is licensed by ST under Ultimate Liberty license
  * SLA0044, the "License"; You may not use this file except in compliance with
  * the License. You may obtain a copy of the License at:
  *                             www.st.com/SLA0044
  *
  ******************************************************************************
  */
#ifndef _cos_128_h
#define _cos_128_h

//	Cos table: _RNDL(cos(i*pi/(2*_MTL))*(2 << _MNB))

static long _cst_128[_MTL+1] = {
  1073741824, 1073660973, 1073418433, 1073014240, 1072448455,
  1071721163, 1070832474, 1069782521, 1068571464, 1067199483,
  1065666786, 1063973603, 1062120190, 1060106826, 1057933813,
  1055601479, 1053110176, 1050460278, 1047652185, 1044686319,
  1041563127, 1038283080, 1034846671, 1031254418, 1027506862,
  1023604567, 1019548121, 1015338134, 1010975242, 1006460100,
  1001793390, 996975812, 992008094, 986890984, 981625251,
  976211688, 970651112, 964944360, 959092290, 953095785,
  946955747, 940673101, 934248793, 927683790, 920979082,
  914135678, 907154608, 900036924, 892783698, 885396022,
  877875009, 870221790, 862437520, 854523370, 846480531,
  838310216, 830013654, 821592095, 813046808, 804379079,
  795590213, 786681534, 777654384, 768510122, 759250125,
  749875788, 740388522, 730789757, 721080937, 711263525,
  701339000, 691308855, 681174602, 670937767, 660599890,
  650162530, 639627258, 628995660, 618269338, 607449906,
  596538995, 585538248, 574449320, 563273883, 552013618,
  540670223, 529245404, 517740883, 506158392, 494499676,
  482766489, 470960600, 459083786, 447137835, 435124548,
  423045732, 410903207, 398698801, 386434353, 374111709,
  361732726, 349299266, 336813204, 324276419, 311690799,
  299058239, 286380643, 273659918, 260897982, 248096755,
  235258165, 222384147, 209476638, 196537583, 183568930,
  170572633, 157550647, 144504935, 131437462, 118350194,
  105245103, 92124163, 78989349, 65842639, 52686014,
  39521455, 26350943, 13176464, 0 };

#endif	//  cos_128.h

/************************ (C) COPYRIGHT 2024 Piak Electronic Design B.V. *****END OF FILE****/
